package io.github.heollhai.common.basic;

/**
 * @Author: lmf
 * @Create: 2024/7/10 8:25
 * Description: 基础常用的时长
 */
public class BasicDuration {
    /**
     * token 时长 2小时
     */
    public static final long TOKEN_DURATION =  24 * 60 * 60;
    /**
     * 刷新token时长7天
     */
    public static final long REFRESH_TOKEN_DURATION = 7 * 24 * 60 * 60;

    /**
     * 刷新token时长7天 (毫秒)
     */
    public static final long REFRESH_TOKEN_DURATION_MILLIS = REFRESH_TOKEN_DURATION * 1000;
}
